package com.evony.client.action 
{
    import com.evony.common.*;
    import com.evony.common.module.*;
    import com.evony.common.module.common.*;
    
    public class SecurityCommands extends Object
    {
        public function SecurityCommands()
        {
            super();
            return;
        }

        public function cancelRemovingSecurityCodeProcess(arg1:Function=null):com.evony.common.module.CommandResponse
        {
            this._cancelRemovingSecurityCodeProcess_callback = arg1;
            var loc1:*=new Object();
            if (this.sender != null) 
            {
                sender.sendMessage("common.cancelRemovingSecurityCodeProcess", loc1);
            }
            return null;
        }

        public function setSecurityCode(arg1:String, arg2:Function=null):com.evony.common.module.CommandResponse
        {
            this._setSecurityCode_callback = arg2;
            var loc1:*=new Object();
            loc1.code = arg1;
            if (this.sender != null) 
            {
                sender.sendMessage("common.setSecurityCode", loc1);
            }
            return null;
        }

        public function authSecurityCode(arg1:String, arg2:Function=null):com.evony.common.module.CommandResponse
        {
            this._authSecurityCode_callback = arg2;
            var loc1:*=new Object();
            loc1.code = arg1;
            if (this.sender != null) 
            {
                sender.sendMessage("common.authSecurityCode", loc1);
            }
            return null;
        }

        public function setSender(arg1:com.evony.common.Sender):void
        {
            this.sender = arg1;
            return;
        }

        public function changeSecurityCode(arg1:String, arg2:String, arg3:Function=null):com.evony.common.module.CommandResponse
        {
            this._changeSecurityCode_callback = arg3;
            var loc1:*;
            (loc1 = new Object()).curCode = arg1;
            loc1.newCode = arg2;
            if (this.sender != null) 
            {
                sender.sendMessage("common.changeSecurityCode", loc1);
            }
            return null;
        }

        public function getIsSecurityCodeSetted(arg1:Function=null):com.evony.common.module.common.GetIsSecurityCodeSettedResponse
        {
            this._getIsSecurityCodeSetted_callback = arg1;
            var loc1:*=new Object();
            if (this.sender != null) 
            {
                sender.sendMessage("common.getIsSecurityCodeSetted", loc1);
            }
            return null;
        }

        public function setProtectOption(arg1:int, arg2:Function=null):com.evony.common.module.CommandResponse
        {
            this._setProtectOption_callback = arg2;
            var loc1:*=new Object();
            loc1.option = arg1;
            if (this.sender != null) 
            {
                sender.sendMessage("common.setProtectOption", loc1);
            }
            return null;
        }

        public function getProtectOption(arg1:Function=null):com.evony.common.module.common.GetProtectOptionResponse
        {
            this._getProtectOption_callback = arg1;
            var loc1:*=new Object();
            if (this.sender != null) 
            {
                sender.sendMessage("common.getProtectOption", loc1);
            }
            return null;
        }

        public function removeSecurityCode(arg1:Function=null):com.evony.common.module.CommandResponse
        {
            this._removeSecurityCode_callback = arg1;
            var loc1:*=new Object();
            if (this.sender != null) 
            {
                sender.sendMessage("common.removeSecurityCode", loc1);
            }
            return null;
        }

        public function setUnlockOption(arg1:int, arg2:Function=null):com.evony.common.module.CommandResponse
        {
            this._setUnlockOption_callback = arg2;
            var loc1:*=new Object();
            loc1.option = arg1;
            if (this.sender != null) 
            {
                sender.sendMessage("common.setUnlockOption", loc1);
            }
            return null;
        }

        public var _setProtectOption_callback:Function;

        public var _setUnlockOption_callback:Function;

        public var _removeSecurityCode_callback:Function;

        public var _setSecurityCode_callback:Function;

        public var _cancelRemovingSecurityCodeProcess_callback:Function;

        public var _getIsSecurityCodeSetted_callback:Function;

        public var _authSecurityCode_callback:Function;

        internal var sender:com.evony.common.Sender;

        public var _changeSecurityCode_callback:Function;

        public var _getProtectOption_callback:Function;
    }
}
